package com.alibaba.cloud.transmit.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName("transmit_data")
public class TransmitData {

    @TableId
    private String id;
    // 服务名
    private String transServer;
    // 明细id
    private String transDetailsId;
    // 上传业务名
    private String transName;
    // 上传业务类型
    private String transType;

    // 状态(1成功, -1失败)
    private String transStatus;

    private String delFlag;
    private Date createTime;
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTransServer() {
        return transServer;
    }

    public void setTransServer(String transServer) {
        this.transServer = transServer;
    }

    public String getTransDetailsId() {
        return transDetailsId;
    }

    public void setTransDetailsId(String transDetailsId) {
        this.transDetailsId = transDetailsId;
    }

    public String getTransName() {
        return transName;
    }

    public void setTransName(String transName) {
        this.transName = transName;
    }

    public String getTransType() {
        return transType;
    }

    public void setTransType(String transType) {
        this.transType = transType;
    }

    public String getTransStatus() {
        return transStatus;
    }

    public void setTransStatus(String transStatus) {
        this.transStatus = transStatus;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "TransmitData {" +
                "transServer='" + transServer + '\'' +
                ", transDetailsId='" + transDetailsId + '\'' +
                ", transName='" + transName + '\'' +
                ", transType='" + transType + '\'' +
                ", transStatus='" + transStatus + '\'' +
                '}';
    }
}
